﻿using System;
using System.Collections.Generic;
using System.Text;
namespace CrazyTalk.Caching
{
    public class CacheKeys
    {
        /// <summary>
        ///游戏维护服务区列表
        /// </summary>
        public const string MaintainIssuanceGameAll = "/Maintain/IssuanceGame/All";
        public const string GiftGiftList = "/Activity/Award/LotteryDraw/ActId_";
        /// <summary>
        /// 用户显示菜单列表
        /// </summary>
        public const string Menu_List_User = "/sys/Menu/r";
        /// <summary>
        /// UserToken 动作信息
        /// </summary>
        public const string mgr_User_UserSessionByUserToken = "/mgr/User/UserSessionByUserToken/_";//后面要跟UserToken        
        /// <summary>
        /// 用户权限列表
        /// </summary>
        public const string Permission_List_User = "/sys/Permission/r";
        /// <summary>
        /// roleid对应所拥有的权限列表缓存KEY 
        /// </summary>
        public const string Permiss_Permisslist_r = "/Permiss/Permisslist/r";//注意更新缓存时后面要加 roleid 例如：/Permiss/Permisslist/r1
        /// <summary>
        /// 权限实体对象缓存key
        /// </summary>
        public const string PermissionModelKey = "/sys/Permission/Model/_";
        /// <summary>
        /// 代码生成时使用的key
        /// </summary>
        public const string GenerateCodeKey = "/GenerateCodeKey/_";
    }
}
